package com.by.entity;

import java.util.Date;
import java.io.Serializable;

/**
 * 订单项(OrderItem)实体类
 *
 * @author makejava
 * @since 2025-04-15 14:24:58
 */
public class OrderItem implements Serializable {
    private static final long serialVersionUID = -71256960143324182L;
/**
     * 订单项ID
     */
    private Integer orderItemId;
/**
     * 创建时间
     */
    private Date createTime;
/**
     * 更新时间
     */
    private Date updateTime;
/**
     * 店铺id
     */
    private Long shopId;
/**
     * 订单id
     */
    private Long orderId;
/**
     * 分类id
     */
    private Long categoryId;
/**
     * 产品ID
     */
    private Integer spuId;
/**
     * 产品SkuID
     */
    private Integer skuId;
/**
     * 用户Id
     */
    private Long userId;
/**
     * 购物车产品个数
     */
    private Integer count;
/**
     * 产品名称
     */
    private String spuName;
/**
     * sku名称
     */
    private String skuName;
/**
     * 产品主图片路径
     */
    private String pic;
/**
     * 单个orderItem的配送类型3：无需快递
     */
    private Integer deliveryType;
/**
     * 加入购物车时间
     */
    private Date shopCartTime;
/**
     * 产品价格
     */
    private Long price;
/**
     * 商品总金额
     */
    private Long spuTotalAmount;


    public Integer getOrderItemId() {
        return orderItemId;
    }

    public void setOrderItemId(Integer orderItemId) {
        this.orderItemId = orderItemId;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Long getShopId() {
        return shopId;
    }

    public void setShopId(Long shopId) {
        this.shopId = shopId;
    }

    public Long getOrderId() {
        return orderId;
    }

    public void setOrderId(Long orderId) {
        this.orderId = orderId;
    }

    public Long getCategoryId() {
        return categoryId;
    }

    public void setCategoryId(Long categoryId) {
        this.categoryId = categoryId;
    }

    public Integer getSpuId() {
        return spuId;
    }

    public void setSpuId(Integer spuId) {
        this.spuId = spuId;
    }

    public Integer getSkuId() {
        return skuId;
    }

    public void setSkuId(Integer skuId) {
        this.skuId = skuId;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Integer getCount() {
        return count;
    }

    public void setCount(Integer count) {
        this.count = count;
    }

    public String getSpuName() {
        return spuName;
    }

    public void setSpuName(String spuName) {
        this.spuName = spuName;
    }

    public String getSkuName() {
        return skuName;
    }

    public void setSkuName(String skuName) {
        this.skuName = skuName;
    }

    public String getPic() {
        return pic;
    }

    public void setPic(String pic) {
        this.pic = pic;
    }

    public Integer getDeliveryType() {
        return deliveryType;
    }

    public void setDeliveryType(Integer deliveryType) {
        this.deliveryType = deliveryType;
    }

    public Date getShopCartTime() {
        return shopCartTime;
    }

    public void setShopCartTime(Date shopCartTime) {
        this.shopCartTime = shopCartTime;
    }

    public Long getPrice() {
        return price;
    }

    public void setPrice(Long price) {
        this.price = price;
    }

    public Long getSpuTotalAmount() {
        return spuTotalAmount;
    }

    public void setSpuTotalAmount(Long spuTotalAmount) {
        this.spuTotalAmount = spuTotalAmount;
    }

}

